package devops

import (
	"away.wei/minidevpos/repository"
)

const (
	status_stop     = -2 // 停止
	status_fail     = -1 // 失败
	status_wating   = 0  // 待执行
	status_execing  = 1  // 执行中
	status_finished = 2  // 完成
)

var DevOpsApp = new(DevOps)

var (
	serverRep        = repository.RepositoryGroupApp.ServerRep
	projectRep       = repository.RepositoryGroupApp.ProjectRep
	projectBuildRep  = repository.RepositoryGroupApp.ProjectBuildRep
	projectDeployRep = repository.RepositoryGroupApp.ProjectDeployRep
	projectTaskRep   = repository.RepositoryGroupApp.ProjectTaskRep

	devopsWorkSpace = new(DevOpsWorkSpace)
)
